package com.warm.pump;

import com.warm.pump.frame.util.SpringBeanUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@EnableCaching
public class PumpApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context
                =  SpringApplication.run(PumpApplication.class, args);

        SpringBeanUtil.setApplicationContext(context);
    }

}
